<template>
  <div class="order">
    <!-- <UserVip /> -->
    <CreateOrder />

    <!-- <div class="statistics" @click="show = true">
      <img src="@/assets/home/zhankai.png" alt="" />
      <div>方案统计</div>
    </div> -->

    <StatisticsDialog v-model="show" />
  </div>
</template>

<script setup>
import UserVip from './components/UserVip.vue'
import CreateOrder from './create-order/CreateOrder.vue'
import StatisticsDialog from './components/StatisticsDialog.vue'

const show = ref(false)
</script>

<style lang="scss" scoped>
.order {
  width: 432px;
  height: 100%;
  // background: #fff;
  margin-left: 16px;
  display: flex;
  flex-direction: column;
}

.statistics {
  position: fixed;
  bottom: 0;
  right: 25%;
  width: 300px;
  height: 40px;
  padding: 8px;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.15);
  cursor: pointer;
  background-image: linear-gradient(to left, #ffa400, var(--pcmain-color));
  display: flex;
  font-size: 16px;
  font-weight: 600;
  color: #fff;

  img {
    width: 24px;
    height: 24px;
  }

  user-select: none; /* 对现代浏览器有效 */
  -webkit-user-select: none; /* 对 Safari 有效 */
  -moz-user-select: none; /* 对 Firefox 有效 */
  -ms-user-select: none; /* 对 IE 和 Edge 有效 */
}
</style>